Air-fuel ratio feedback control system having a single air-fuel ratio sensor downstream of a three-way catalyst converter

ABSTRACT

In an air-fuel ratio feedback control system including a single air-fuel ratio sensor downstream of a three-way catalyst converter, the coarse-adjusting term and the O 2  adjusting term are calculated in accordance with the air-fuel ratio sensor, and a proportional amount of said O 2  adjusting term is reduced in accordance with a degree of a deterioration of said catalyst converter, when the catalyst converter is deteriorated, to thus improve the drivability of a vehicle.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an air-fuel ratio feedback control system in an internal combustion engine having a single air-fuel ratio sensor downstream of a three-way reducing and oxidizing catalyst converter in an exhaust gas passage.

2. Description of the Related Art

Among known air-fuel ratio feedback control systems using air-fuel ratio sensors (O₂ sensors), there exists a single air-fuel ratio sensor system, i.e., having only one air-fuel ratio sensor. Note, in this system the air-fuel ratio sensor is disposed either upstream or downstream of the catalyst converter.

In a single air-fuel ratio sensor system having an air-fuel ratio sensor upstream of the catalyst converter, the air-fuel ratio sensor is disposed in the exhaust gas passage near to a combustion chamber, i.e., near the concentration portion of an exhaust manifold. In this system, however, the output characteristics of the air-fuel ratio sensor are directly affected by a non-uniformity or non-equilibrium state of the exhaust gas. For example, when the air-fuel ratio actually indicates a rich state but oxygen is still present, the output characteristics of the air-fuel ratio sensor fluctuate. Also, in the internal combustion engine having a plurality of cylinders, the output characteristics of the air-fuel ratio sensor are also directly affected by differences in individual cylinders, and accordingly, it is impossible to detect the mean air-fuel ratio for the entire engine, and thus the accuracy of the control of the air-fuel ratio is low.

On the other hand, in a single air-fuel ratio sensor system having an air-fuel ratio sensor downstream of the catalyst converter, the non-uniformity or non-equilibrium state of the detected exhaust gas has little or no effect, and thus the mean air-fuel ratio for the engine can be detected. In this system, however, due to the capacity of the catalyst converter, the response characteristics of the air-fuel ratio sensor are lowered, and as a result, the efficiency of the catalyst converter cannot be properly exhibited, and thus the HC, CO and NOx emissions are increased.

To solve the above problems, the following method, for example, is known. Namely, the actual air-fuel ratio is adjusted by a self-oscillating term, and the mean value thereof, i.e., a coarse-adjusting term, is controlled in accordance with the output of the air-fuel ratio sensor disposed downstream of the catalyst converter.

Nevertheless, this method cannot eliminate the increase of HC, CO and NOx emissions, because a convergence error in the stoichiometric air-fuel ratio occurs due to the phase-difference between the input and output of the exhaust gas, which is caused by the low response of the air-fuel ratio sensor.

To solve the above problem, the present inventor have suggested a method of using a proportional O₂ storage term and an integral O₂ storage term, to forcibly shift the coarse-adjusting term when the output of the air-fuel ratio sensor disposed downstream of the catalyst converter is outside a predetermined region, in addition to the air-fuel ratio control by the coarse-adjusting term (see Japanese Unexamined Patent Application (Kokai) Ser. No. 1-66441 published on Mar. 13, 1989).

Nevertheless, the above method cannot eliminate the increase of HC, CO and NOx emissions when the catalyst converter is deteriorated, because the O₂ storage effect of the catalyst converter is reduced. As a result, the proportional O₂ storage term is continuously used, and accordingly, the drivability becomes poor because the air-fuel ratio of the exhaust gas detected by the air-fuel ratio sensor has a large fluctuation.

SUMMARY OF THE INVENTION

Therefore, an object of the present invention is to provide an air-fuel ratio control system able to prevent a poor drivability.

According to this invention, in an air-fuel ratio feedback control system including a single air-fuel ratio sensor disposed downstream of a three-way catalyst converter, a coarse-adjusting term AFc is calculated integrally when the output of the air-fuel sensor is not inverted, and calculated proportionally when the output is inverted, and an O₂ storage term is calculated at least proportionally when the output of the air-fuel sensor is outside a predetermined region.

Namely, an amount of the proportional O₂ storage term is determined in accordance with a degree of deterioration of the catalyst converter.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be more clearly understood from the description as set forth below with reference to the accompanying drawings.

FIG. 1 is a schematic view of an internal combustion engine according to the present invention;

FIGS. 2, 3, 4, 5, 6, 10, 11, 12 and 13 are flow charts showing the operation of the control circuit of FIG. 1;

FIG. 7 is a graph showing a relationship between a degree of a deterioration of the catalyst converter and the proportional term;

FIG. 8 is a graph showing a relationship between the proportional term and a modified proportional term; and,

FIG. 9 is a graph showing a relationship between a degree of a deterioration of the catalyst converter and the modified proportional term.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

In FIG. 1, which illustrates an internal combustion engine according to the present invention, reference numeral 1 designates a four-cycle spark ignition engine disposed in an automotive vehicle, wherein an air-intake passage 2 of the engine 1 is provided with a potentiometer-type airflow meter 3 for detecting an amount of air drawn into the engine 1, and generating an analog voltage signal proportional to the amount of air flowing therethrough. The signal from the air-flow meter 3 is transmitted to a multiplexer-incorporating analog-to-digital (A/D) converter 101 of the control circuit 10.

Crank angle sensors 5 and 6, for detecting the angle of the crank-shaft (not shown) of the engine 1, are disposed at a distributor 4.

In this case, the crank angle sensor 5 generates a pulse signal at every 720° crank angle (CA) and the crank-angle sensor 6 generates a pulse signal at every 30° CA. The pulse signals from the crank angle sensors 5 and 6 are supplied to an input/output (I/O) interface 102 of the control circuit 10. Further, the pulse signal from the crank angle sensor 6 is then supplied to an interruption terminal of a central processing unit (CPU) 103.

Also provided in the air-intake passage 2 is a fuel injection valve 7 for supplying pressurized fuel from the fuel system to the air-intake port of the cylinder of the engine 1. Note, other fuel injection valves are provided for other cylinders, but these are not shown in FIG. 1.

A coolant temperature sensor 9 for detecting the temperature of the coolant is disposed in a cylinder block 8 of the engine 1. The coolant temperature sensor 9 generates an analog voltage signal in response to the temperature THW of the coolant, and transmits this signal to the A/D converter 101 of the control circuit 10.

A three-way reducing and oxidizing catalyst converter 12, which simultaneously removes three pollutants, CO, HC and NOx from the exhaust gas is provided in an exhaust system on the downstream-side of an exhaust manifold 11.

A air-fuel ratio sensor 14 for detecting the concentration of oxygen composition in the exhaust gas is provided in an exhaust pipe 13 downstream of the catalyst converter 12. This air-fuel ratio sensor 14 generates an output voltage signal and transmits the signal to the A/D converter 101 of the control circuit 10.

Reference 15 designates a throttle valve, and 16 designates a throttle sensor which incorporates an idle switch for detecting a time at which the throttle valve 15 is fully closed. The output LL of the idle switch is supplied to the I/O interface 102 of the control circuit.

The control circuit 10, which may be constructed by a microcomputer, further comprises a central processing unit (CPU) 103, a read only memory (ROM) 104 for storing a main routine and interrupt routines such as a fuel injection routine, an ignition timing routine and constants, etc., a random access memory 105 (RAM) for storing temporary data, a backup RAM 106, a clock generator 107 for generating various clock signals, a down counter 108, a flip-flop 109, and a drive circuit 110 and the like.

Note, that a battery (not shown) is connected directly to the backup RAM 106, and therefore, the content thereof is not erased even when the ignition switch (not shown) is turned off.

The down counter 108, flip-flop 109, and drive circuit 110 are used for controlling the fuel injection valve 7. Namely, when a fuel injection amount TAU is calculated in a TAU routine, as explained later, the amount TAU is preset in the down counter 108, and at the same time the flip-flop 109 is set, and as a result, the drive circuit 110 initiates the activation of the fuel injection valve 7. On the other hand, the down counter 108 counts up the clock signal from the clock generator 107, and finally, a logic "1" signal is generated from the borrow-out terminal of the down counter 108, to reset the flip-flop 109, so that the drive circuit 110 stops the activation of the fuel injection valve 7, whereby an amount of fuel corresponding to the fuel injection amount TAU is injected into the fuel injection valve 7.

Interruptions occur at the CPU 103 when the A/D converter 101 completes an A/D conversion and generates an interrupt signal; when the crank angle sensor 6 generates a pulse signal; and when the clock generator 107 generates a special clock signal.

The intake air amount data Q from the airflow meter 3 and the coolant temperature data THW from the coolant sensor 9 are fetched by an A/D conversion routine(s) executed at predetermined intervals, and then stored in the RAM 105; i.e., the data Q and THW in RAM 105 are renewed at predetermined intervals.

FIG. 2 is a routine for calculating a coarse-adjusting term AFc in accordance with the output voltage Vox of the air-fuel ratio sensor 14, and is executed at predetermined intervals such as 16 ms.

At step 201, it is determined whether or not the flag XFB is "1", which means that the conditions for the feedback control are established.

For example, the feedback control is inhibited under the following conditions.

i) the engine is in a fuel cut-off state;

ii) the engine is in a state of waiting for a predetermined interval after a fuel cut-off condition has been released;

iii) the engine is in a fuel increase condition, to prevent an overheating of the catalyst converter;

iv) the engine is in a power increase condition.

In the above-mentioned conditions, when the flag XFB is "0", which shows that the feedback control conditions are not satisfied, this routine is directly completed.

If the flag XFB is "1", which shows that the feedback control conditions are satisfied, the control proceeds to step 202, and the output of the air-fuel ratio sensor 14 Vox is compared with the predetermined reference Vr, e.g., 0.45 V.

If Vox is smaller than Vr, which means that the current air-fuel ratio is lean, the control proceeds to step 203 and "0" is set in the air-fuel ratio flag XOX. Then, at step 204, it is determined whether or not a previous air-fuel ratio flag XOXO is "1" (rich), i.e., the air-fuel ratio flag XOX is inverted. If the previous air-fuel ratio XOXO is "0", which means that the rich state is maintained, the control proceeds to step 205.

In step 205, it is determined whether or not the counter CNT, which determines the continuance of the rich or lean state, is smaller than the predetermined value KCNT. If CNT is smaller than KCNT, the control proceeds to step 206 and CNT is incremented, and this routine is then completed.

If CNT is equal to KCNT, the control proceeds to step 207, and "0" is set in the counter CNT. Then, at step 208, the coarse-adjusting term AFc is increased by ΔAFc2, which means that the coarse-adjusting term is integrally increased at predetermined intervals (for example, 16 ms)×KCNT, and this routine is then completed.

When XOXO is "1", which means that XOXO is inverted, the control proceeds to step 209, and "0" is set in XOXO. Then at step 210, ΔAFc1 is added to the coarse-adjusting term AFc, which means that the coarse-adjusting term AFc is proportionally increased when the air-fuel ratio is inverted from the rich state to the lean state. At step 211, the counter CNT is reset to "0", and this routine is then completed.

When the output voltage Vox of the air-fuel ratio sensor 14 is larger than the reference Vr, the control proceeds to step 212, and "1" is set in the air-fuel ratio flag XOX. Then at step 213, it is determined whether or not the previous air-fuel ratio flag XOXO is "0".

If XOXO is "1", the control proceeds to step 214, and the counter CNT is compared with KCNT.

When CNT is smaller than KCNT, the control proceeds to step 215 and CNT is incremented and this routine is completed.

If CNT is equal to KCNT, the control proceeds to step 216, and "0" is set in the CNT. Then at step 217, ΔAFc2 is subtracted from the coarse-adjusting term AFc, and this routine is completed.

If XOXO is "0", the control proceeds to step 218, and "1" is set in XOXO. At step 219, ΔAFc1 is subtracted from the coarse-adjusting term AFc, and the control then proceeds to step 211.

As a result, if the actual air-fuel ratio approaches the stoichiometric air-fuel ratio, the integral action does not function, and only the proportional action functions as the self-oscillating term because the counter is reset within the predetermined period KCNT at step 211.

When the air-fuel ratio is far from the stoichiometric air-fuel ratio, however, it takes a long time to converge the air-fuel ratio to the stoichiometric air-fuel ratio with only the coarse-adjusting term, and it is impossible to lower the HC, CO and NOx emissions during this time.

To solve this problem, the air-fuel ratio is compensated with the O₂ storage term.

FIG. 3 is the routine for calculating the O₂ storage term, and is executed at predetermined intervals such as 64 ms.

At step 301, it is determined whether or not the flag XFB is "1". If XFB is "0", this routine is immediately completed. If XFB is "1", the control proceeds to step 302, at which Vox is fetched through the A/D converter 101.

At step 303, it is determined whether or not the output voltage Vox of the air-fuel ratio sensor 14 is smaller than the first threshold value V₁. If Vox is larger than V₁, at step 306 it is determined whether or not Vox is larger than the second threshold value V₂. Note, a range of the output Vox of the air-fuel ratio sensor 14 is divided into three regions, as follows:

"L" (lean) region: 0 (Volt)-V₁

"S" (stoichiometric) region: V₁ -V₂

"R" (rich) region: V₂ -1 (Volt)

As a result, when Vox is smaller than V₁, which means that the current air-fuel ratio is in the "L" region, the control proceeds to step 304, and an integral O₂ storage term AFccroi is gradually increased by

    AFccroi←AFccroi+ΔAFccro (definite)              (1)

Then, at step 305, the O₂ storage term AFccro is calculated by

    AFccro←AFccrop+AFccroi                                (2)

Therefore, the O₂ storage term AFccro is greatly increased by AFccrop, then gradually increased with the gradual changing speed ΔAFccro.

If the output voltage Vox is larger than the second threshold value V₂, which means that the current air-fuel ratio is in the "R" region, the control proceeds to step 307.

At step 307, the integral O₂ storage term AFccroi is gradually decreased by

    AFccroi←AFccroi-ΔAFccro (definite)              (3)

At step 308, the O₂ storage term AFccro is calculated by

    AFccro←-AFccrop+AFccroi                               (4)

If the current air-fuel ratio enters the "S" region as the result of an increase or decrease of the O₂ storage term AFccro, the control proceeds to step 309.

After the calculation for the "S" region is executed, the control proceeds to step 310, where AFccroi is made AFccro, and the routine is then completed.

FIG. 4 is the routine for the process of step 309, which is executed together with the routine shown in FIG. 3.

At step 401, it is determined whether or not Vox is smaller than Vr. If Vox is smaller than Vr, the control proceeds to step 402 and "0" is set in XOY, and then goes to step 404. If Vox is larger than Vr, the control proceeds to step 403 and "1" is set in XOY, and then goes to step 404.

At step 404, it is determined whether or not the flag is equal to the flag XOYO.

If XOY is equal to XOYO, which means that the air-fuel ratio is in the same state, the control proceeds to step 405 and it is determined whether or not XOY is "0".

When XOY is "0", which means that the current air-fuel ratio is lean, the control proceeds to step 406, where ΔAFccro is subtracted from the integral O₂ storage term AFccroi, and then goes to step 407, where it is determined whether or not AFccroi is a negative value.

If AFccroi is a negative value, the control proceeds to step 410, where AFccroi is cleared to prevent over-compensation, and then goes to step 411.

If AFccroi is not a negative value, the control proceeds directly to step 411, where XOY is replaced by XOYO, and the routine is then completed.

When XOY is "1", which means that the current air-fuel ratio is rich, the control proceeds to step 408, where ΔAFccro is added to the integral O₂ storage term AFccroi, and the control proceeds to step 409, where it is determined whether or not AFccroi is a positive value.

If AFccroi is a positive value, the control proceeds to step 411 through step 410.

If AFccroi is not a positive value, the control proceeds directly to step 411.

FIG. 5 is a routine for determining the deterioration of the catalyst converter, and is executed at predetermined intervals such as 4 ms.

At step 501, it is determined whether or not the flag XFB is "0", which means that the conditions for the feedback control are established.

If the flag XFB is "0", the control proceeds to step 502, where the flag XT&A is cleared, and this routine is completed.

If the flag XFB is "1", the control proceeds to step 503. At step 503, an A/D conversion is performed upon the output voltage Vox of the air-fuel ratio sensor 14, and the A/D converted value thereof is then fetched from the A/D converter 101. Then at step 404, the voltage Vox is compared with the reference voltage Vr such as 4.5 V, to thereby determine whether the current air-fuel ratio detected by the air-fuel ratio sensor 14 is on the rich side or the lean side with respect to the stoichiometric air-fuel ratio.

If Vox is smaller than Vr, which means that the current air-fuel ratio is lean, the control proceeds to step 505 and "0" is set in the air-fuel ratio flag XOZ. Then at step 506, it is determined whether or not a previous air-fuel ratio flag XOZO is "1" (rich), i.e., the air-fuel ratio flag XOZ is inverted.

When the air-fuel ratio XOZO is "0", which means that the rich state is continuing, the control proceeds to step 507, where the counter CNTL which designates the interval for holding in the lean state, is incremented. Then at step 508, it is determined whether or not the output voltage Vox of the air-fuel ratio sensor 14 is larger than Vmin, where the minimum output voltage is stored. If Vox is smaller than Vmin, the control proceeds to step 509, which makes Vmin become Vox, and the routine is then completed.

If the lean state continues, CNTL is incremented at every execution, and the minimum value of the output voltage of the air-fuel ratio sensor is stored in Vmin.

As a result of this control, if the current air-fuel ratio is inverted from the lean side to the rich side, the output voltage of the air-fuel ratio sensor Vox becomes larger than Vr. Then the control proceeds to step 515, and "1" is set in the flag XOZ.

At step 516, it is determined whether or not a previous air-fuel flag XOZO is "0" (lean), i.e., the air-fuel ratio flag is inverted. As a result, only when the air-fuel ratio flag is inverted, the control proceeds to step 517, and "1" is set in the flag XOZO. Then at step 518, the inverting interval is calculated by the following equation.

    T=CNTL+CNTR                                                (5)

Then the control proceeds to step 519, and CNTR is cleared. Then, at step 520, the amplitude of the output of the air-fuel ratio sensor A is calculated by the following equation.

    A=Vmax-Vmin                                                (6)

At step 521, Vmax is cleared, and the control then proceeds to step 525.

At step 525, it is determined whether or not the flag LL is "1". If the flag LL is "1", which means that the engine is in an idling state, the control proceeds to step 529, and "0" is set in the flag XT&A, and the routine is completed.

If LL is "0", which means that the engine is under a normal operation, the control proceeds to step 526, which determines whether or not the inverting interval T is smaller than the predetermined period T₀. If T is larger than T₀, the control proceeds to step 529. If T is smaller than T₀, the control proceeds to step 527, which determines whether or not the amplitude A is larger than the predetermined value A₀.

If A is smaller than A₀, the control proceeds to step 529. If A is larger than A₀, the control proceeds to step 528, and "1" is set in the flag XT&A.

FIG. 6 is the routine for calculating a proportional amount of the O₂ storage term.

At step 601, it is determined whether or not the flag XT&A is "1". When XT&A is "0", which means that the catalyst converter has not yet deteriorated, the control proceeds to step 602, and it is determined whether or not the proportional amount of the O₂ storage term AFccrop is smaller than a predetermined value Pmin.

If AFccrop is smaller than the Pmin, this routine is immediately completed.

If AFccrop is larger than the Pmin, the control proceeds to step 603, where AFccrop is increased by Δ2.

At step 604, it is determined whether or not AFccrop is larger than a predetermined value Pmax. If AFccrop is smaller than the Pmax, this routine is immediately completed.

If AFccrop is larger than the Pmax, the control proceeds to step 605, where Pmax brings to AFccrop.

When the flag XT&A is "1", which means that the catalyst converter has deteriorated, the control proceeds to step 606, where AFccrop is decreased by Δ1.

At step, it is determined whether or not AFccrop is larger than Pmin. If AFccrop is larger than Pmin, this routine is completed.

If AFccrop is smaller than Pmin, the control proceeds to step 608, where Pmin is brought to AFccrop.

Note, AFccrop varies between Pmax and Pmin in accordance with the degree of the deterioration of the catalyst converter. Once it is determined that the catalyst converter has deteriorated, AFccrop is decremented by Δ1 at every execution of this routine, until AFccrop reaches Pmin.

FIG. 7 is a graph showing the relationship between the degree of the deterioration of the catalyst converter and AFccrop.

To prevent a loss of good drivability because the change of AFccrop is not smooth at points "a" and "b", a modified proportional amount AFccrop' may be used.

FIG. 8 is a graph showing the relationship between AFccrop and AFccrop', and FIG. 9 is a graph showing the relationship between AFccrop' and the degree of the deterioration of the catalyst converter.

A good drivability can be obtained by using this modified proportional amount AFccrop', because AFccrop' ensures a smooth change.

FIG. 10 shows the routine for calculating the fuel injection amount. At step 1001, the basic fuel injection amount TAUP is calculated based on the intake air-flow Q measured by the air-flow meter 3 and the engine rotating speed Ne determined by the output of the crank angle sensors 5 and 6, using the following equation.

    TAUP-β·Q/Ne                                  (7)

where β is a constant.

At step 1002, the fuel injection amount is calculated by the following equation.

    TAU=TAUP×(AFc+AFccro+γ)+δ                (8)

where

AFc=the coarse-adjusting term

AFccro=the O₂ storage term

γ, δ is a constant

At step 1003, the fuel injection amount TAU is set to the counter 108 and the determined amount of fuel is then injected from the injector 7.

Note, it is possible to add the self-oscillating-term AFs to the above equation (10), for a more positive use of the O₂ storage effect of the catalyst converter, as already suggested by the present inventors (see Japanese Unexamined Patent Publication (Kokai) No. 1-6641 published on Mar. 13, 1989).

FIG. 11 shows the routine for calculating the self-oscillating term AFs, and FIG. 12 shows the routine for calculating the fuel injection amount TAU in this case.

Note, the present inventors have also suggested that the amplitude and period of the self-oscillating term can be changed according to whether the engine is in an idling operation or in a non-idling operation (see U.S. Pat. No. 487,454 filed on Mar. 1, 1990 or Japanese Unexamined Patent Publication (Kokai) No. 2-230934 published on Sep. 13, 1990).

FIG. 13 shows the routine for calculating the self-oscillating term AFs in this case.

Note, a Karman vortex sensor, hardware type flow sensor, and the like can be used instead of the air-flow meter.

Although, in the above-mentioned embodiments, a fuel injection amount is calculated on the basis of the intake air amount and engine speed, it can be also calculated on the basis of the intake air pressure and engine speed, or the throttle opening and the engine speed. 

I claim:
 1. A method of controlling an air-fuel ratio in an internal combustion engine having a three-way catalyst converter for removing pollutants in the exhaust gas of said engine, using an air-fuel ratio sensor, disposed downstream of said three-way catalyst converter, for detecting a specific component in the exhaust gas, comprising the steps of:greatly changing a coarse-adjusting term when the output of said air-fuel ratio sensor is inverted from the rich state to the lean state, and vice versa, and gradually changing said coarse-adjusting term when the output of said air-fuel ratio sensor remains in the same state; greatly changing a proportional amount of an O₂ storage adjusting term when the output of said air-fuel ratio sensor is lower than a first threshold value which is smaller than a value corresponding to the stoichiometric air-fuel ratio or higher than a second threshold value which is higher than a value corresponding to the stoichiometric air-fuel ratio; determining whether or not said catalyst converter is deteriorated; reducing said proportional amount of said O₂ storage adjusting term in accordance with a degree of the deterioration of said catalyst converter, when said catalyst converter is determined to have deteriorated; adjusting an actual air-fuel ratio in accordance with said coarse-adjusting term and said O₂ storage term.
 2. A method as set forth in claim 1, further comprising a step of gradually changing said O₂ storage term.
 3. A method as set forth in claim 1, wherein said catalyst converter deterioration determining step comprises a step of:determining whether or not an inverting interval, which is an interval from a time at which the output of the said air-fuel ratio sensor is inverted from the rich side to the lean side, and vice versa, to a time at which it is again inverted in the same direction, is shorter than a predetermined value.
 4. A method as set forth in claim 1, wherein said catalyst converter deterioration determining step comprises a step of:determining whether or not an amplitude of said output of said air-fuel ratio sensor is larger than a predetermined value.
 5. A method as set forth in claim 1, further comprising a step of generating a self-oscillating term having a predetermined amplitude and a predetermined period, to thereby adjust said actual air-fuel ratio in accordance with said self-oscillating term.
 6. A method as set forth in claim 5, further comprising the steps of:determining whether or not said engine is in an idling state; lowering said predetermined amplitude of said self-oscillating term when said engine is in said idling state; increasing said predetermined period of said self-oscillating term when said engine is in said idling state.
 7. An apparatus for controlling an air-fuel ratio in an internal combustion engine having a three-way catalyst converter for removing pollutants in the exhaust gas of said engine, an air-fuel ratio sensor, disposed downstream of said three-way catalyst converter, for detecting a specific component in the exhaust gas, comprising:means for greatly changing a coarse-adjusting term when the output of said air-fuel ratio sensor is inverted from the rich state to the lean state, and vice versa, and gradually changing said coarse-adjusting term when the output of said air-fuel ratio sensor remains in the same state; means for greatly changing a proportional amount of an O₂ storage adjusting term when the output of said air-fuel ratio sensor is lower than a first threshold value which is lower than a value corresponding to the stoichiometric air-fuel ratio or higher than a second threshold value which is larger than a value corresponding to the stoichiometric air-fuel ratio; means for determining whether or not said catalyst converter is deteriorated; means for reducing said proportional amount of said O₂ storage adjusting term in accordance with a degree of the deterioration of said catalyst converter, when said catalyst converter is determined to be deteriorated; means for adjusting an actual air-fuel ratio in accordance with said coarse-adjusting term and said O₂ storage term.
 8. An apparatus as set forth in claim 7, further comprising means for gradually changing an O₂ storage term.
 9. An apparatus as set forth in claim 7, wherein said catalyst converter deterioration determining means comprises:means for determining whether or not an inverting interval, which is an interval from a time at which the output of the said air-fuel ratio sensor is inverted from the rich side to the lean side, and vice versa, to a time at which it is again inverted in the same direction, is shorter than a predetermined value.
 10. An apparatus as set forth in claim 7, wherein said catalyst converter deterioration determining mean comprises:means for determining whether or not an amplitude of said output of said air-fuel ratio sensor is larger than a predetermined value.
 11. An apparatus as set forth in claim 7, further comprising means for generating a self-oscillating term having a predetermined amplitude and a predetermined period, to thereby adjust said actual air-fuel ratio in accordance with said self-oscillating term.
 12. An apparatus as set forth in claim 11, further comprising:means for determining whether or not said engine is in an idling state; means for lowering said predetermined amplitude of said self-oscillating term when said engine is in said idling state; means for increasing said predetermined period of said self-oscillating term when said engine is in said idling state. 